#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int ooo(int arr[], int len)
{
	for (int j = 0; j < len; j++) 
	{
		for (int i = 0; i < len - 1 - j; i++)
		{
			if (arr[i] > arr[i + 1])
			{
				int temp = arr[i];
				arr[i] = arr[i + 1];
				arr[i + 1] = temp;
			}
		}
		printf("%d\n", arr[j]);
	}
}
int main()
{
	int arr[] = { 79,81,127,131,7,23,103 };
	int len = sizeof(arr) / sizeof(int);
	ooo(arr, len);
	int arr1[] = { 1,2,3,4,5,6,7,8,9 };
	int len1 = sizeof(arr1) / sizeof(int);
	ooo(arr1, len1);
	return 0;
}